﻿using System;
using Htss.Platform.Data;
namespace DreamBox.Model
{
    [Table(Name = "dbox_Talk")]
    public partial class Talk : BasicModel
    {
        [Field(Name = "TalkID", DbFieldType = DbFieldType.PrimaryKey)]
        /// <summary>
        /// 文字ID
        /// </summary>
        public int? TalkID
        {
            set;
            get;
        }
        [Field(Name = "Title")]
        /// <summary>
        /// 标题
        /// </summary>
        public string Title
        {
            set;
            get;
        }
        [Field(Name = "Contents")]
        /// <summary>
        /// 内容
        /// </summary>
        public string Contents
        {
            set;
            get;
        }
        [Field(Name = "KeyWords")]
        /// <summary>
        /// 关键字
        /// </summary>
        public string KeyWords
        {
            set;
            get;
        }
        [Field(Name = "UserID")]
        /// <summary>
        /// 发布人ID
        /// </summary>
        public int? UserID
        {
            set;
            get;
        }
        [Field(Name = "BrowseCount")]
        /// <summary>
        /// 浏览次数
        /// </summary>
        public int? BrowseCount
        {
            set;
            get;
        }
        [Field(Name = "Property")]
        /// <summary>
        /// 文字属性
        /// </summary>
        public int? Property
        {
            set;
            get;
        }
        [Field(Name = "PostDate")]
        /// <summary>
        /// 发布时间
        /// </summary>
        public DateTime? PostDate
        {
            set;
            get;
        }
        [Field(Name = "LastUpdateDate")]
        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime? LastUpdateDate
        {
            set;
            get;
        }
        [Field(Name = "Plus")]
        /// <summary>
        /// 加1
        /// </summary>
        public int? Plus
        {
            set;
            get;
        }
        [Field(Name = "AttentionCount")]
        /// <summary>
        /// 关注次数
        /// </summary>
        public int? AttentionCount
        {
            set;
            get;
        }
        [Field(Name = "IsStatus")]
        /// <summary>
        /// 状态
        /// </summary>
        public bool? IsStatus
        {
            set;
            get;
        }
        [Field(Name = "ReplyCount")]
        /// <summary>
        /// 回帖数
        /// </summary>
        public int? ReplyCount
        {
            set;
            get;
        }
        [Field(Name = "Thumbnail")]
        public string Thumbnail { set; get; }
    }
}

